#ifndef _GlobalLayer_h_
#define _GlobalLayer_h_

#include "Global.h"
#include "UserInfo.h"
#include "MainMenu.h"
#include "ExpandTool.h"

class GlobalLayer : public CCNode, public Singleton<GlobalLayer>
{
	UserInfo* m_pUserInfo;
	MainMenu* m_pMenuMain;
	ExpandTool* m_pExpandTool;
public:
	GlobalLayer(void);
	~GlobalLayer(void);
	bool init();
public:
	void show();
	void hide();
	void showUserInfo(bool visible);
	void showMenuMain(bool visible);
	void showExpandTool(bool visible);
};

#endif